<!DOCTYPE html>
<html dir="__MSG_@@bidi_dir__">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>__MSG_OptionPageTitle__</title>
<link rel="stylesheet" href="options.css">
<script src="../lib/browser-polyfill.js"></script>
<script src="common.js"></script>
<script src="extension.js"></script>
<script src="options.js"></script>
</head>
<body>
<form id="options">
<div id="optionsWrapper">
  <details id="group_interface">
    <summary>__MSG_OptionGroupUi__</summary>
    <div>
      <fieldset>
        <label>__MSG_OptionUiToolbarButtonsLabel__</label>
        <blockquote>
          <input type="checkbox" id="opt_ui.toolbar.showCaptureTab">
          <label for="opt_ui.toolbar.showCaptureTab">__MSG_CaptureTab__</label>
        </blockquote>
        <blockquote>
          <input type="checkbox" id="opt_ui.toolbar.showCaptureTabSource">
          <label for="opt_ui.toolbar.showCaptureTabSource">__MSG_CaptureTabSource__</label>
        </blockquote>
        <blockquote>
          <input type="checkbox" id="opt_ui.toolbar.showCaptureTabBookmark">
          <label for="opt_ui.toolbar.showCaptureTabBookmark">__MSG_CaptureTabBookmark__</label>
        </blockquote>
        <blockquote>
          <input type="checkbox" id="opt_ui.toolbar.showCaptureTabAs">
          <label for="opt_ui.toolbar.showCaptureTabAs">__MSG_CaptureTabAs__</label>
        </blockquote>
        <blockquote>
          <input type="checkbox" id="opt_ui.toolbar.showBatchCapture">
          <label for="opt_ui.toolbar.showBatchCapture">__MSG_BatchCapture__</label>
        </blockquote>
        <blockquote>
          <input type="checkbox" id="opt_ui.toolbar.showBatchCaptureLinks">
          <label for="opt_ui.toolbar.showBatchCaptureLinks">__MSG_BatchCaptureLinks__</label>
        </blockquote>
        <blockquote>
          <input type="checkbox" id="opt_ui.toolbar.showEditTab">
          <label for="opt_ui.toolbar.showEditTab">__MSG_EditTab__</label>
        </blockquote>
        <blockquote>
          <input type="checkbox" id="opt_ui.toolbar.showSearchCaptures">
          <label for="opt_ui.toolbar.showSearchCaptures">__MSG_SearchCaptures__</label>
        </blockquote>
        <blockquote>
          <input type="checkbox" id="opt_ui.toolbar.showOpenScrapBook">
          <label for="opt_ui.toolbar.showOpenScrapBook">__MSG_OpenScrapBook__</label>
        </blockquote>
        <blockquote>
          <input type="checkbox" id="opt_ui.toolbar.showOpenViewer">
          <label for="opt_ui.toolbar.showOpenViewer">__MSG_OpenViewer__</label>
        </blockquote>
        <blockquote>
          <input type="checkbox" id="opt_ui.toolbar.showOpenOptions">
          <label for="opt_ui.toolbar.showOpenOptions">__MSG_OpenOptions__</label>
        </blockquote>
      </fieldset>
      <fieldset>
        <input type="checkbox" id="opt_ui.showContextMenu">
        <label for="opt_ui.showContextMenu">__MSG_OptionUiShowContextMenuLabel__</label>
      </fieldset>
      <fieldset>
        <label for="opt_ui.autoCloseCaptureDialog">__MSG_OptionUiAutoCloseCaptureDialogLabel__</label>
        <select id="opt_ui.autoCloseCaptureDialog">
          <option value="none">__MSG_OptionUiAutoCloseCaptureDialogNoneLabel__</option>
          <option value="nowarn">__MSG_OptionUiAutoCloseCaptureDialogNoWarnLabel__</option>
          <option value="noerror">__MSG_OptionUiAutoCloseCaptureDialogNoErrorLabel__</option>
          <option value="nofailure">__MSG_OptionUiAutoCloseCaptureDialogNoFailureLabel__</option>
          <option value="always">__MSG_OptionUiAutoCloseCaptureDialogAlwaysLabel__</option>
        </select>
      </fieldset>
      <fieldset class="ui-uiNotifyPageCaptured">
        <input type="checkbox" id="opt_ui.notifyPageCaptured">
        <label for="opt_ui.notifyPageCaptured">__MSG_OptionUiNotifyPageCapturedLabel__</label>
        <a href="javascript:" data-tooltip="__MSG_OptionUiNotifyPageCapturedTooltip__"></a>
      </fieldset>
    </div>
  </details>
  <details id="group_save" open>
    <summary>__MSG_OptionGroupSave__</summary>
    <div>
      <fieldset>
        <label for="opt_capture.saveTo">__MSG_OptionCaptureSaveToLabel__</label>
        <select id="opt_capture.saveTo">
          <option value="server">__MSG_OptionCaptureSaveToServerLabel__</option>
          <option value="folder">__MSG_OptionCaptureSaveToFolderLabel__</option>
          <option value="file">__MSG_OptionCaptureSaveToFileLabel__</option>
        </select>
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureSaveToTooltip__"></a>
      </fieldset>
      <fieldset class="ui-captureScrapbookFolder" hidden>
        <label for="opt_capture.saveFolder">__MSG_OptionCaptureScrapbookFolderLabel__</label>
        <input type="text" id="opt_capture.saveFolder" placeholder="WebScrapBook/data">
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureScrapbookFolderTooltip__"></a>
      </fieldset>
      <fieldset>
        <label for="opt_capture.saveAs">__MSG_OptionCaptureSaveAsLabel__</label>
        <select id="opt_capture.saveAs">
          <option value="folder">__MSG_OptionCaptureSaveAsFolderLabel__</option>
          <option value="zip">__MSG_OptionCaptureSaveAsZipLabel__</option>
          <option value="maff">__MSG_OptionCaptureSaveAsMaffLabel__</option>
          <option value="singleHtml">__MSG_OptionCaptureSaveAsSingleHtmlLabel__</option>
        </select>
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureSaveAsTooltip__"></a>
      </fieldset>
      <fieldset class="ui-captureMergeCssResources" hidden>
        <input type="checkbox" id="opt_capture.mergeCssResources">
        <label for="opt_capture.mergeCssResources">__MSG_OptionCaptureMergeCssResourcesLabel__</label>
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureMergeCssResourcesTooltip__"></a>
      </fieldset>
      <fieldset>
        <label for="opt_capture.saveFilename">__MSG_OptionCaptureSaveFilenameLabel__</label>
        <input type="text" id="opt_capture.saveFilename" placeholder="%id%" list="capture.saveFilename.preset">
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureSaveFilenameTooltip__"></a>
        <datalist id="capture.saveFilename.preset">
          <option value="%id%">
          <option value="%id% %title%">
          <option value="%uuid%">
          <option value="%title%">
          <option value="%title% (%source-host%)">
          <option value="%title% (%create-F% %create-T%)">
          <option value="%create-Y%/%create-m%/%id% %title%">
        </datalist>
      </fieldset>
      <fieldset>
        <label for="opt_capture.saveFilenameMaxLenUtf16">__MSG_OptionCaptureSaveFilenameMaxLenUtf16Label__</label>
        <input type="number" min="2" step="1" id="opt_capture.saveFilenameMaxLenUtf16">
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureSaveFilenameMaxLenUtf16Tooltip__"></a>
      </fieldset>
      <fieldset>
        <label for="opt_capture.saveFilenameMaxLenUtf8">__MSG_OptionCaptureSaveFilenameMaxLenUtf8Label__</label>
        <input type="number" min="4" step="1" id="opt_capture.saveFilenameMaxLenUtf8">
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureSaveFilenameMaxLenUtf8Tooltip__"></a>
      </fieldset>
      <fieldset>
        <input type="checkbox" id="opt_capture.saveAsciiFilename">
        <label for="opt_capture.saveAsciiFilename">__MSG_OptionCaptureSaveAsciiFilenameLabel__</label>
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureSaveAsciiFilenameTooltip__"></a>
      </fieldset>
      <fieldset>
        <input type="checkbox" id="opt_capture.saveFileAsHtml">
        <label for="opt_capture.saveFileAsHtml">__MSG_OptionCaptureSaveFileAsHtmlLabel__</label>
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureSaveFileAsHtmlTooltip__"></a>
      </fieldset>
      <fieldset class="ui-captureSaveDataUriAsFile" hidden>
        <input type="checkbox" id="opt_capture.saveDataUriAsFile">
        <label for="opt_capture.saveDataUriAsFile">__MSG_OptionCaptureSaveDataUriAsFileLabel__</label>
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureSaveDataUriAsFileTooltip__"></a>
      </fieldset>
    </div>
  </details>
  <details id="group_capture" open>
    <summary>__MSG_OptionGroupCapture__</summary>
    <div>
      <fieldset>
        <label for="opt_capture.image">__MSG_OptionCaptureImageLabel__</label>
        <select id="opt_capture.image">
          <option value="save">__MSG_OptionCaptureCommonSaveLabel__</option>
          <option value="save-current">__MSG_OptionCaptureCommonSaveCurrentLabel__</option>
          <option value="link">__MSG_OptionCaptureCommonLinkLabel__</option>
          <option value="blank">__MSG_OptionCaptureCommonBlankLabel__</option>
          <option value="remove">__MSG_OptionCaptureCommonRemoveLabel__</option>
        </select>
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureImageTooltip__"></a>
      </fieldset>
      <fieldset>
        <label for="opt_capture.imageBackground">__MSG_OptionCaptureImageBackgroundLabel__</label>
        <select id="opt_capture.imageBackground">
          <option value="save">__MSG_OptionCaptureCommonSaveLabel__</option>
          <option value="save-used">__MSG_OptionCaptureCommonSaveUsedLabel__</option>
          <option value="link">__MSG_OptionCaptureCommonLinkLabel__</option>
          <option value="blank">__MSG_OptionCaptureCommonBlankLabel__</option>
        </select>
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureImageBackgroundTooltip__"></a>
      </fieldset>
      <fieldset>
        <label for="opt_capture.favicon">__MSG_OptionCaptureFaviconLabel__</label>
        <select id="opt_capture.favicon">
          <option value="save">__MSG_OptionCaptureCommonSaveLabel__</option>
          <option value="link">__MSG_OptionCaptureCommonLinkLabel__</option>
          <option value="blank">__MSG_OptionCaptureCommonBlankLabel__</option>
          <option value="remove">__MSG_OptionCaptureCommonRemoveLabel__</option>
        </select>
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureFaviconTooltip__"></a>
      </fieldset>
      <fieldset>
        <label for="opt_capture.canvas">__MSG_OptionCaptureCanvasLabel__</label>
        <select id="opt_capture.canvas">
          <option value="save">__MSG_OptionCaptureCanvasSaveLabel__</option>
          <option value="blank">__MSG_OptionCaptureCanvasBlankLabel__</option>
          <option value="remove">__MSG_OptionCaptureCommonRemoveLabel__</option>
        </select>
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureCanvasTooltip__"></a>
      </fieldset>
      <fieldset>
        <label for="opt_capture.audio">__MSG_OptionCaptureAudioLabel__</label>
        <select id="opt_capture.audio">
          <option value="save">__MSG_OptionCaptureCommonSaveLabel__</option>
          <option value="save-current">__MSG_OptionCaptureCommonSaveCurrentLabel__</option>
          <option value="link">__MSG_OptionCaptureCommonLinkLabel__</option>
          <option value="blank">__MSG_OptionCaptureCommonBlankLabel__</option>
          <option value="remove">__MSG_OptionCaptureCommonRemoveLabel__</option>
        </select>
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureAudioTooltip__"></a>
      </fieldset>
      <fieldset>
        <label for="opt_capture.video">__MSG_OptionCaptureVideoLabel__</label>
        <select id="opt_capture.video">
          <option value="save">__MSG_OptionCaptureCommonSaveLabel__</option>
          <option value="save-current">__MSG_OptionCaptureCommonSaveCurrentLabel__</option>
          <option value="link">__MSG_OptionCaptureCommonLinkLabel__</option>
          <option value="blank">__MSG_OptionCaptureCommonBlankLabel__</option>
          <option value="remove">__MSG_OptionCaptureCommonRemoveLabel__</option>
        </select>
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureVideoTooltip__"></a>
      </fieldset>
      <fieldset>
        <label for="opt_capture.frame">__MSG_OptionCaptureFrameLabel__</label>
        <select id="opt_capture.frame">
          <option value="save">__MSG_OptionCaptureCommonSaveLabel__</option>
          <option value="link">__MSG_OptionCaptureCommonLinkLabel__</option>
          <option value="blank">__MSG_OptionCaptureCommonBlankLabel__</option>
          <option value="remove">__MSG_OptionCaptureCommonRemoveLabel__</option>
        </select>
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureFrameTooltip__"></a>
      </fieldset>
      <fieldset>
        <label for="opt_capture.font">__MSG_OptionCaptureFontLabel__</label>
        <select id="opt_capture.font">
          <option value="save">__MSG_OptionCaptureCommonSaveLabel__</option>
          <option value="save-used">__MSG_OptionCaptureCommonSaveUsedLabel__</option>
          <option value="link">__MSG_OptionCaptureCommonLinkLabel__</option>
          <option value="blank">__MSG_OptionCaptureCommonBlankLabel__</option>
        </select>
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureFontTooltip__"></a>
      </fieldset>
      <fieldset>
        <label for="opt_capture.style">__MSG_OptionCaptureStyleLabel__</label>
        <select id="opt_capture.style">
          <option value="save">__MSG_OptionCaptureCommonSaveLabel__</option>
          <option value="link">__MSG_OptionCaptureCommonLinkLabel__</option>
          <option value="blank">__MSG_OptionCaptureCommonBlankLabel__</option>
          <option value="remove">__MSG_OptionCaptureCommonRemoveLabel__</option>
        </select>
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureStyleTooltip__"></a>
      </fieldset>
      <fieldset>
        <label for="opt_capture.rewriteCss">__MSG_OptionCaptureRewriteCssLabel__</label>
        <select id="opt_capture.rewriteCss">
          <option value="none">__MSG_OptionCaptureRewriteCssNoneLabel__</option>
          <option value="url">__MSG_OptionCaptureRewriteCssUrlLabel__</option>
          <option value="tidy">__MSG_OptionCaptureRewriteCssTidyLabel__</option>
          <option value="match">__MSG_OptionCaptureRewriteCssMatchLabel__</option>
        </select>
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureRewriteCssTooltip__"></a>
      </fieldset>
      <fieldset>
        <label for="opt_capture.script">__MSG_OptionCaptureScriptLabel__</label>
        <select id="opt_capture.script">
          <option value="save">__MSG_OptionCaptureCommonSaveLabel__</option>
          <option value="link">__MSG_OptionCaptureCommonLinkLabel__</option>
          <option value="blank">__MSG_OptionCaptureCommonBlankLabel__</option>
          <option value="remove">__MSG_OptionCaptureCommonRemoveLabel__</option>
        </select>
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureScriptTooltip__"></a>
      </fieldset>
      <fieldset>
        <label for="opt_capture.noscript">__MSG_OptionCaptureNoscriptLabel__</label>
        <select id="opt_capture.noscript">
          <option value="save">__MSG_OptionCaptureCommonSaveLabel__</option>
          <option value="blank">__MSG_OptionCaptureCommonBlankLabel__</option>
          <option value="remove">__MSG_OptionCaptureCommonRemoveLabel__</option>
        </select>
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureNoscriptTooltip__"></a>
      </fieldset>
      <fieldset>
        <label for="opt_capture.embed">__MSG_OptionCaptureEmbedLabel__</label>
        <select id="opt_capture.embed">
          <option value="save">__MSG_OptionCaptureCommonSaveLabel__</option>
          <option value="link">__MSG_OptionCaptureCommonLinkLabel__</option>
          <option value="blank">__MSG_OptionCaptureCommonBlankLabel__</option>
          <option value="remove">__MSG_OptionCaptureCommonRemoveLabel__</option>
        </select>
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureEmbedTooltip__"></a>
      </fieldset>
      <fieldset>
        <label for="opt_capture.object">__MSG_OptionCaptureObjectLabel__</label>
        <select id="opt_capture.object">
          <option value="save">__MSG_OptionCaptureCommonSaveLabel__</option>
          <option value="link">__MSG_OptionCaptureCommonLinkLabel__</option>
          <option value="blank">__MSG_OptionCaptureCommonBlankLabel__</option>
          <option value="remove">__MSG_OptionCaptureCommonRemoveLabel__</option>
        </select>
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureObjectTooltip__"></a>
      </fieldset>
      <fieldset>
        <label for="opt_capture.applet">__MSG_OptionCaptureAppletLabel__</label>
        <select id="opt_capture.applet">
          <option value="save">__MSG_OptionCaptureCommonSaveLabel__</option>
          <option value="link">__MSG_OptionCaptureCommonLinkLabel__</option>
          <option value="blank">__MSG_OptionCaptureCommonBlankLabel__</option>
          <option value="remove">__MSG_OptionCaptureCommonRemoveLabel__</option>
        </select>
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureAppletTooltip__"></a>
      </fieldset>
      <fieldset>
        <label for="opt_capture.formStatus">__MSG_OptionCaptureFormStatusLabel__</label>
        <select id="opt_capture.formStatus">
          <option value="save-all">__MSG_OptionCaptureFormStatusSaveAllLabel__</option>
          <option value="save">__MSG_OptionCaptureFormStatusSaveLabel__</option>
          <option value="keep-all">__MSG_OptionCaptureFormStatusKeepAllLabel__</option>
          <option value="keep">__MSG_OptionCaptureFormStatusKeepLabel__</option>
          <option value="html-all">__MSG_OptionCaptureFormStatusHtmlAllLabel__</option>
          <option value="html">__MSG_OptionCaptureFormStatusHtmlLabel__</option>
          <option value="reset">__MSG_OptionCaptureFormStatusResetLabel__</option>
        </select>
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureFormStatusTooltip__"></a>
      </fieldset>
      <fieldset>
        <label for="opt_capture.shadowDom">__MSG_OptionCaptureShadowDomLabel__</label>
        <select id="opt_capture.shadowDom">
          <option value="save">__MSG_OptionCaptureCommonSaveLabel__</option>
          <option value="remove">__MSG_OptionCaptureCommonRemoveLabel__</option>
        </select>
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureShadowDomTooltip__"></a>
      </fieldset>
      <fieldset>
        <label for="opt_capture.adoptedStyleSheet">__MSG_OptionCaptureAdoptedStyleSheetLabel__</label>
        <select id="opt_capture.adoptedStyleSheet">
          <option value="save">__MSG_OptionCaptureCommonSaveLabel__</option>
          <option value="remove">__MSG_OptionCaptureCommonRemoveLabel__</option>
        </select>
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureAdoptedStyleSheetTooltip__"></a>
      </fieldset>
      <fieldset>
        <label for="opt_capture.removeHidden">__MSG_OptionCaptureRemoveHiddenLabel__</label>
        <select id="opt_capture.removeHidden">
          <option value="none">__MSG_OptionCaptureRemoveHiddenNoneLabel__</option>
          <option value="undisplayed">__MSG_OptionCaptureRemoveHiddenUndisplayedLabel__</option>
        </select>
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureRemoveHiddenTooltip__"></a>
      </fieldset>
      <fieldset>
        <label for="opt_capture.resourceSizeLimit">__MSG_OptionCaptureResourceSizeLimitLabel__</label>
        <input type="number" min="0" step="any" id="opt_capture.resourceSizeLimit">
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureResourceSizeLimitTooltip__"></a>
      </fieldset>
      <fieldset>
        <label for="opt_capture.remoteTabDelay">__MSG_OptionCaptureRemoteTabDelayLabel__</label>
        <input type="number" min="0" step="any" id="opt_capture.remoteTabDelay">
      </fieldset>
      <fieldset>
        <input type="checkbox" id="opt_capture.saveResourcesSequentially">
        <label for="opt_capture.saveResourcesSequentially">__MSG_OptionCaptureSaveResourcesSequentiallyLabel__</label>
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureSaveResourcesSequentiallyTooltip__"></a>
      </fieldset>
      <fieldset>
        <input type="checkbox" id="opt_capture.linkUnsavedUri">
        <label for="opt_capture.linkUnsavedUri">__MSG_OptionCaptureLinkUnsavedUriLabel__</label>
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureLinkUnsavedUriTooltip__"></a>
      </fieldset>
      <fieldset>
        <input type="checkbox" id="opt_capture.recordRewrites">
        <label for="opt_capture.recordRewrites">__MSG_OptionCaptureRecordRewritesLabel__</label>
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureRecordRewritesTooltip__"></a>
      </fieldset>
      <fieldset>
        <input type="checkbox" id="opt_capture.insertInfoBar">
        <label for="opt_capture.insertInfoBar">__MSG_OptionCaptureInsertInfoBarLabel__</label>
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureInsertInfoBarTooltip__"></a>
      </fieldset>
    </div>
  </details>
  <details id="group_downLink">
    <summary>__MSG_OptionGroupDownLink__</summary>
    <div>
      <fieldset>
        <label for="opt_capture.downLink.mode">__MSG_OptionCaptureDownLinkFileModeLabel__</label>
        <select id="opt_capture.downLink.file.mode">
          <option value="none">__MSG_OptionCaptureDownLinkFileModeNoneLabel__</option>
          <option value="url">__MSG_OptionCaptureDownLinkFileModeUrlLabel__</option>
          <option value="header">__MSG_OptionCaptureDownLinkFileModeHeaderLabel__</option>
        </select>
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureDownLinkFileModeTooltip__"></a>
      </fieldset>
      <fieldset>
        <label for="opt_capture.downLink.file.extFilter">__MSG_OptionCaptureDownLinkFileExtFilterLabel__</label>
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureDownLinkFileExtFilterTooltip__"></a>
        <blockquote>
          <textarea id="opt_capture.downLink.file.extFilter"></textarea>
        </blockquote>
      </fieldset>
      <fieldset>
        <label for="opt_capture.downLink.doc.depth">__MSG_OptionCaptureDownLinkDocDepthLabel__</label>
        <input type="number" min="0" step="1" id="opt_capture.downLink.doc.depth">
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureDownLinkDocDepthTooltip__"></a>
      </fieldset>
      <fieldset>
        <label for="opt_capture.downLink.doc.delay">__MSG_OptionCaptureDownLinkDocDelayLabel__</label>
        <input type="number" min="0" step="any" id="opt_capture.downLink.doc.delay">
      </fieldset>
      <fieldset>
        <label for="opt_capture.downLink.doc.urlFilter">__MSG_OptionCaptureDownLinkDocUrlFilterLabel__</label>
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureDownLinkDocUrlFilterTooltip__"></a>
        <blockquote>
          <textarea id="opt_capture.downLink.doc.urlFilter"></textarea>
        </blockquote>
      </fieldset>
      <fieldset>
        <label for="opt_capture.downLink.urlFilter">__MSG_OptionCaptureDownLinkUrlFilterLabel__</label>
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureDownLinkUrlFilterTooltip__"></a>
        <blockquote>
          <textarea id="opt_capture.downLink.urlFilter"></textarea>
        </blockquote>
      </fieldset>
    </div>
  </details>
  <details id="group_helpers">
    <summary>__MSG_OptionGroupHelpers__</summary>
    <div>
      <fieldset>
        <input type="checkbox" id="opt_capture.helpersEnabled">
        <label for="opt_capture.helpersEnabled">__MSG_OptionCaptureHelpersLabel__</label>
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureHelpersTooltip__"></a>
        <blockquote>
          <textarea id="opt_capture.helpers"></textarea>
        </blockquote>
      </fieldset>
    </div>
  </details>
  <details id="group_autocapture">
    <summary>__MSG_OptionGroupAutocapture__</summary>
    <div>
      <fieldset>
        <input type="checkbox" id="opt_autocapture.enabled">
        <label for="opt_autocapture.enabled">__MSG_OptionAutocaptureLabel__</label>
        <a href="javascript:" data-tooltip="__MSG_OptionAutocaptureTooltip__"></a>
        <blockquote>
          <textarea id="opt_autocapture.rules"></textarea>
        </blockquote>
      </fieldset>
    </div>
  </details>
  <details id="group_editor">
    <summary>__MSG_OptionGroupEditor__</summary>
    <div>
      <fieldset>
        <label for="opt_editor.lineMarker.style.1">__MSG_OptionEditorLineMarkerStyleLabel__ 1:</label>
        <input type="text" size="40" id="opt_editor.lineMarker.style.1" list="editor.lineMarker.style.preset">
      </fieldset>
      <fieldset>
        <label for="opt_editor.lineMarker.style.2">__MSG_OptionEditorLineMarkerStyleLabel__ 2:</label>
        <input type="text" size="40" id="opt_editor.lineMarker.style.2" list="editor.lineMarker.style.preset">
      </fieldset>
      <fieldset>
        <label for="opt_editor.lineMarker.style.3">__MSG_OptionEditorLineMarkerStyleLabel__ 3:</label>
        <input type="text" size="40" id="opt_editor.lineMarker.style.3" list="editor.lineMarker.style.preset">
      </fieldset>
      <fieldset>
        <label for="opt_editor.lineMarker.style.4">__MSG_OptionEditorLineMarkerStyleLabel__ 4:</label>
        <input type="text" size="40" id="opt_editor.lineMarker.style.4" list="editor.lineMarker.style.preset">
      </fieldset>
      <fieldset>
        <label for="opt_editor.lineMarker.style.5">__MSG_OptionEditorLineMarkerStyleLabel__ 5:</label>
        <input type="text" size="40" id="opt_editor.lineMarker.style.5" list="editor.lineMarker.style.preset">
      </fieldset>
      <fieldset>
        <label for="opt_editor.lineMarker.style.6">__MSG_OptionEditorLineMarkerStyleLabel__ 6:</label>
        <input type="text" size="40" id="opt_editor.lineMarker.style.6" list="editor.lineMarker.style.preset">
      </fieldset>
      <fieldset>
        <label for="opt_editor.lineMarker.style.7">__MSG_OptionEditorLineMarkerStyleLabel__ 7:</label>
        <input type="text" size="40" id="opt_editor.lineMarker.style.7" list="editor.lineMarker.style.preset">
      </fieldset>
      <fieldset>
        <label for="opt_editor.lineMarker.style.8">__MSG_OptionEditorLineMarkerStyleLabel__ 8:</label>
        <input type="text" size="40" id="opt_editor.lineMarker.style.8" list="editor.lineMarker.style.preset">
      </fieldset>
      <fieldset>
        <label for="opt_editor.lineMarker.style.9">__MSG_OptionEditorLineMarkerStyleLabel__ 9:</label>
        <input type="text" size="40" id="opt_editor.lineMarker.style.9" list="editor.lineMarker.style.preset">
      </fieldset>
      <fieldset>
        <label for="opt_editor.lineMarker.style.10">__MSG_OptionEditorLineMarkerStyleLabel__ 10:</label>
        <input type="text" size="40" id="opt_editor.lineMarker.style.10" list="editor.lineMarker.style.preset">
      </fieldset>
      <fieldset>
        <label for="opt_editor.lineMarker.style.11">__MSG_OptionEditorLineMarkerStyleLabel__ 11:</label>
        <input type="text" size="40" id="opt_editor.lineMarker.style.11" list="editor.lineMarker.style.preset">
      </fieldset>
      <fieldset>
        <label for="opt_editor.lineMarker.style.12">__MSG_OptionEditorLineMarkerStyleLabel__ 12:</label>
        <input type="text" size="40" id="opt_editor.lineMarker.style.12" list="editor.lineMarker.style.preset">
      </fieldset>
    </div>
    <datalist id="editor.lineMarker.style.preset">
      <option value="background: #FFFF00; background: linear-gradient(transparent 40%, rgba(255,255,0,0.9) 90%, transparent 100%);">WebScrapBook 1 (yellow mark pen)</option>
      <option value="background: #00FF00; background: linear-gradient(transparent 40%, rgba(0,255,0,0.9) 90%, transparent 100%);">WebScrapBook 2 (green mark pen)</option>
      <option value="background: #FF0000; background: linear-gradient(transparent 40%, rgba(255,0,0,0.9) 90%, transparent 100%);">WebScrapBook 3 (red mark pen)</option>
      <option value="background: #0000FF; background: linear-gradient(transparent 40%, rgba(0,0,255,0.9) 90%, transparent 100%);">WebScrapBook 4 (blue mark pen)</option>
      <option value="background: #FFFF00; background: linear-gradient(transparent 75%, rgba(255,255,0,0.9) 90%, transparent 100%);">WebScrapBook 5 (yellow bottom mark pen)</option>
      <option value="background: #00FF00; background: linear-gradient(transparent 75%, rgba(0,255,0,0.9) 90%, transparent 100%);">WebScrapBook 6 (green bottom mark pen)</option>
      <option value="background: #FF0000; background: linear-gradient(transparent 75%, rgba(255,0,0,0.9) 90%, transparent 100%);">WebScrapBook 7 (red bottom mark pen)</option>
      <option value="background: #0000FF; background: linear-gradient(transparent 75%, rgba(0,0,255,0.9) 90%, transparent 100%);">WebScrapBook 8 (blue bottom mark pen)</option>
      <option value="border-bottom: medium solid #FFFF33;">WebScrapBook 9 (yellow underline)</option>
      <option value="border-bottom: medium solid #33FF33;">WebScrapBook 10 (green underline)</option>
      <option value="border-bottom: medium solid #FF3333;">WebScrapBook 11 (red underline)</option>
      <option value="border-bottom: medium solid #3333FF;">WebScrapBook 12 (blue underline)</option>
      <option value="background-color: #FFFF7C; color: black;">WebScrapBook 13 (black on light-yellow)</option>
      <option value="background-color: #93EF8D; color: black;">WebScrapBook 14 (black on light-green)</option>
      <option value="background-color: #FFBBB6; color: black;">WebScrapBook 15 (black on light-red)</option>
      <option value="background-color: #95D0FF; color: black;">WebScrapBook 16 (black on light-blue)</option>
      <option value="background-color: #CDD0EF; color: black;">WebScrapBook 17 (black on light-purple)</option>
      <option value="background-color: #FFFF99; color: #000000; border: thin dashed #FFCC00;">ScrapBook 1 (yellow box)</option>
      <option value="background-color: #CCFFFF; color: #000000; border: thin solid #0099FF;">ScrapBook 2 (blue box)</option>
      <option value="background-color: #FFFF00; color: #000000;">ScrapBook 3 (black on yellow)</option>
      <option value="border: medium double #993399;">ScrapBook 4 (purple box)</option>
      <option value="background-color: #EE3311; color: #FFFFFF; font-weight: bold;">ScrapBook 5 (bold white on red)</option>
      <option value="color: #FF0000; text-decoration: line-through;">ScrapBook 6 (red strike)</option>
      <option value="border-bottom: thin solid #3366FF;">ScrapBook 7 (blue underline)</option>
      <option value="border-bottom: 2px dotted #FF0000;">ScrapBook 8 (red dotted underline)</option>
    </datalist>
    <div>
      <fieldset>
        <label for="opt_editor.insertDateFormat">__MSG_OptionEditorInsertDateFormatLabel__</label>
        <input type="text" size="40" id="opt_editor.insertDateFormat" list="editor.insertDateFormat.preset">
        <a href="javascript:" data-tooltip="__MSG_OptionEditorInsertDateFormatTooltip__"></a>
        <datalist id="editor.insertDateFormat.preset">
          <option value="%Y-%m-%d %H:%M:%S">
          <option value="%Y/%m/%d %H:%M:%S">
          <option value="%c">
        </datalist>
      </fieldset>
      <fieldset>
        <input type="checkbox" id="opt_editor.useNativeTags">
        <label for="opt_editor.useNativeTags">__MSG_OptionEditorUseNativeTagsLabel__</label>
        <a href="javascript:" data-tooltip="__MSG_OptionEditorUseNativeTagsTooltip__"></a>
      </fieldset>
      <fieldset>
        <input type="checkbox" id="opt_capture.deleteErasedOnCapture">
        <label for="opt_capture.deleteErasedOnCapture">__MSG_OptionCaptureDeleteErasedOnCaptureLabel__</label>
        <a href="javascript:" data-tooltip="__MSG_OptionCaptureDeleteErasedOnCaptureTooltip__"></a>
      </fieldset>
      <fieldset>
        <input type="checkbox" id="opt_capture.deleteErasedOnSave">
        <label for="opt_capture.deleteErasedOnSave">__MSG_OptionCaptureDeleteErasedOnSaveLabel__</label>
      </fieldset>
    </div>
  </details>
  <details id="group_viewer">
    <summary>__MSG_OptionGroupViewer__</summary>
    <div>
      <fieldset>
        <input type="checkbox" id="opt_viewer.viewHtz">
        <label for="opt_viewer.viewHtz">__MSG_OptionViewerViewHtzLabel__</label>
        <a href="javascript:" data-tooltip="__MSG_OptionViewerViewHtzTooltip__"></a>
      </fieldset>
      <fieldset>
        <input type="checkbox" id="opt_viewer.viewMaff">
        <label for="opt_viewer.viewMaff">__MSG_OptionViewerViewMaffLabel__</label>
        <a href="javascript:" data-tooltip="__MSG_OptionViewerViewMaffTooltip__"></a>
      </fieldset>
      <fieldset>
        <input type="checkbox" id="opt_viewer.viewAttachments">
        <label for="opt_viewer.viewAttachments">__MSG_OptionViewerViewAttachmentsLabel__</label>
        <a href="javascript:" data-tooltip="__MSG_OptionViewerViewAttachmentsTooltip__"></a>
      </fieldset>
    </div>
  </details>
  <details id="group_server">
    <summary>__MSG_OptionGroupServer__</summary>
    <div>
      <fieldset>
        <label for="opt_server.url">__MSG_OptionServerUrlLabel__</label>
        <input type="url" id="opt_server.url" autocomplete="url" pattern="https?://[^?#]+/" list="opt_server.url.preset">
        <a id="optionServerUrlTooltip" href="javascript:" data-tooltip="__MSG_OptionServerUrlTooltip__"></a>
        <datalist id="opt_server.url.preset">
          <option value="http://localhost:8080/">
        </datalist>
      </fieldset>
      <fieldset>
        <label for="opt_server.user">__MSG_OptionServerUserLabel__</label>
        <input type="text" id="opt_server.user" autocomplete="username">
        <a href="javascript:" data-tooltip="__MSG_OptionServerUserTooltip__"></a>
      </fieldset>
      <fieldset>
        <label for="opt_server.password">__MSG_OptionServerPasswordLabel__</label>
        <input type="password" id="opt_server.password" autocomplete="current-password">
        <a href="javascript:" data-tooltip="__MSG_OptionServerPasswordTooltip__"></a>
      </fieldset>
    </div>
  </details>
  <details id="group_scrapbook">
    <summary>__MSG_OptionGroupScrapbook__</summary>
    <div>
      <fieldset>
        <input type="checkbox" id="opt_capture.backupForRecapture">
        <label for="opt_capture.backupForRecapture">__MSG_OptionScrapbookBackupForRecaptureLabel__</label>
        <a href="javascript:" data-tooltip="__MSG_OptionScrapbookBackupForRecaptureTooltip__"></a>
      </fieldset>
      <fieldset>
        <input type="checkbox" id="opt_editor.autoInit">
        <label for="opt_editor.autoInit">__MSG_OptionEditorAutoInit__</label>
      </fieldset>
      <fieldset>
        <label>__MSG_OptionScrapbookSidebarInNewTabLabel__</label>
        <blockquote>
          <input type="checkbox" id="opt_scrapbook.sidebarOpenInNewTab">
          <label for="opt_scrapbook.sidebarOpenInNewTab">__MSG_OptionScrapbookSidebarOpenInNewTabLabel__</label>
        </blockquote>
        <blockquote>
          <input type="checkbox" id="opt_scrapbook.sidebarSourceInNewTab">
          <label for="opt_scrapbook.sidebarSourceInNewTab">__MSG_OptionScrapbookSidebarSourceInNewTabLabel__</label>
        </blockquote>
        <blockquote>
          <input type="checkbox" id="opt_scrapbook.sidebarViewTextInNewTab">
          <label for="opt_scrapbook.sidebarViewTextInNewTab">__MSG_OptionScrapbookSidebarViewTextInNewTabLabel__</label>
        </blockquote>
        <blockquote>
          <input type="checkbox" id="opt_scrapbook.sidebarEditNoteInNewTab">
          <label for="opt_scrapbook.sidebarEditNoteInNewTab">__MSG_OptionScrapbookSidebarEditNoteInNewTabLabel__</label>
        </blockquote>
        <blockquote>
          <input type="checkbox" id="opt_scrapbook.sidebarEditPostitInNewTab">
          <label for="opt_scrapbook.sidebarEditPostitInNewTab">__MSG_OptionScrapbookSidebarEditPostitInNewTabLabel__</label>
        </blockquote>
        <blockquote>
          <input type="checkbox" id="opt_scrapbook.sidebarSearchInNewTab">
          <label for="opt_scrapbook.sidebarSearchInNewTab">__MSG_OptionScrapbookSidebarSearchInNewTabLabel__</label>
        </blockquote>
      </fieldset>
      <fieldset>
        <input type="checkbox" id="opt_scrapbook.export.recursive">
        <label for="opt_scrapbook.export.recursive">__MSG_OptionScrapbookExportRecursiveLabel__</label>
      </fieldset>
      <fieldset>
        <input type="checkbox" id="opt_scrapbook.export.nonSingleton">
        <label for="opt_scrapbook.export.nonSingleton">__MSG_OptionScrapbookExportNonSingletonLabel__</label>
      </fieldset>
      <fieldset>
        <input type="checkbox" id="opt_scrapbook.import.rebuildFolders">
        <label for="opt_scrapbook.import.rebuildFolders">__MSG_OptionScrapbookImportRebuildFoldersLabel__</label>
      </fieldset>
      <fieldset>
        <input type="checkbox" id="opt_scrapbook.import.resolveItemUsedNew">
        <label for="opt_scrapbook.import.resolveItemUsedNew">__MSG_OptionScrapbookImportResolveItemUsedNewLabel__</label>
      </fieldset>
      <fieldset>
        <label for="opt_scrapbook.copyItemInfoFormatPlain">__MSG_OptionScrapbookCopyItemInfoFormatPlainLabel__</label>
        <a href="javascript:" data-tooltip="__MSG_OptionScrapbookCopyItemInfoFormatPlainTooltip__"></a>
        <blockquote>
          <textarea id="opt_scrapbook.copyItemInfoFormatPlain"></textarea>
        </blockquote>
      </fieldset>
      <fieldset>
        <label for="opt_scrapbook.defaultSearch">__MSG_OptionScrapbookDefaultSearchLabel__</label>
        <input type="text" size="40" id="opt_scrapbook.defaultSearch" list="scrapbook.defaultSearch.preset">
        <a href="javascript:" data-tooltip="__MSG_OptionScrapbookDefaultSearchTooltip__"></a>
        <datalist id="scrapbook.defaultSearch.preset">
          <option value="-type:folder -type:separator">
          <option value="default:tc -type:folder -type:separator">
        </datalist>
      </fieldset>
      <fieldset>
        <label for="opt_scrapbook.searchCommentLength">__MSG_OptionScrapbookScrapbookSearchCommentLengthLabel__</label>
        <input type="number" min="5" step="1" id="opt_scrapbook.searchCommentLength">
      </fieldset>
      <fieldset>
        <label for="opt_scrapbook.searchContextLength">__MSG_OptionScrapbookScrapbookSearchContextLengthLabel__</label>
        <input type="number" min="5" step="1" id="opt_scrapbook.searchContextLength">
      </fieldset>
      <fieldset>
        <label for="opt_scrapbook.searchSourceLength">__MSG_OptionScrapbookScrapbookSearchSourceLengthLabel__</label>
        <input type="number" min="5" step="1" id="opt_scrapbook.searchSourceLength">
      </fieldset>
    </div>
  </details>
  <details id="group_indexer">
    <summary>__MSG_OptionGroupIndexer__</summary>
    <div>
      <fieldset>
        <input type="checkbox" id="opt_indexer.fulltextCache">
        <label for="opt_indexer.fulltextCache">__MSG_OptionIndexerFulltextCacheLabel__</label>
      </fieldset>
      <fieldset>
        <input type="checkbox" id="opt_indexer.fulltextCacheRecreate">
        <label for="opt_indexer.fulltextCacheRecreate">__MSG_OptionIndexerFulltextCacheRecreateLabel__</label>
      </fieldset>
      <fieldset>
        <input type="checkbox" id="opt_indexer.createStaticSite">
        <label for="opt_indexer.createStaticSite">__MSG_OptionIndexerCreateStaticSiteLabel__</label>
      </fieldset>
      <fieldset>
        <input type="checkbox" id="opt_indexer.makeBackup">
        <label for="opt_indexer.makeBackup">__MSG_OptionIndexerMakeBackupLabel__</label>
      </fieldset>
      <input id="openIndexer" type="button" value="__MSG_OpenIndexer__">
    </div>
  </details>
  <details id="group_checker">
    <summary>__MSG_OptionGroupChecker__</summary>
    <div>
      <fieldset>
        <input type="checkbox" id="opt_checker.resolveInvalidId">
        <label for="opt_checker.resolveInvalidId">__MSG_OptionCheckerResolveInvalidIdLabel__</label>
      </fieldset>
      <fieldset>
        <input type="checkbox" id="opt_checker.resolveMissingIndex">
        <label for="opt_checker.resolveMissingIndex">__MSG_OptionCheckerResolveMissingIndexLabel__</label>
      </fieldset>
      <fieldset>
        <input type="checkbox" id="opt_checker.resolveMissingIndexFile">
        <label for="opt_checker.resolveMissingIndexFile">__MSG_OptionCheckerResolveMissingIndexFileLabel__</label>
      </fieldset>
      <fieldset>
        <input type="checkbox" id="opt_checker.resolveMissingDate">
        <label for="opt_checker.resolveMissingDate">__MSG_OptionCheckerResolveMissingDateLabel__</label>
      </fieldset>
      <fieldset>
        <input type="checkbox" id="opt_checker.resolveOlderMtime">
        <label for="opt_checker.resolveOlderMtime">__MSG_OptionCheckerResolveOlderMtimeLabel__</label>
      </fieldset>
      <fieldset>
        <input type="checkbox" id="opt_checker.resolveTocUnreachable">
        <label for="opt_checker.resolveTocUnreachable">__MSG_OptionCheckerResolveTocUnreachableLabel__</label>
      </fieldset>
      <fieldset>
        <input type="checkbox" id="opt_checker.resolveTocInvalid">
        <label for="opt_checker.resolveTocInvalid">__MSG_OptionCheckerResolveTocInvalidLabel__</label>
      </fieldset>
      <fieldset>
        <input type="checkbox" id="opt_checker.resolveTocEmptySubtree">
        <label for="opt_checker.resolveTocEmptySubtree">__MSG_OptionCheckerResolveTocEmptySubtreeLabel__</label>
      </fieldset>
      <fieldset>
        <input type="checkbox" id="opt_checker.resolveUnindexedFiles">
        <label for="opt_checker.resolveUnindexedFiles">__MSG_OptionCheckerResolveUnindexedFilesLabel__</label>
      </fieldset>
      <fieldset>
        <input type="checkbox" id="opt_checker.resolveAbsoluteIcon">
        <label for="opt_checker.resolveAbsoluteIcon">__MSG_OptionCheckerResolveAbsoluteIconLabel__</label>
      </fieldset>
      <fieldset>
        <input type="checkbox" id="opt_checker.resolveUnusedIcon">
        <label for="opt_checker.resolveUnusedIcon">__MSG_OptionCheckerResolveUnusedIconLabel__</label>
      </fieldset>
      <fieldset>
        <input type="checkbox" id="opt_checker.makeBackup">
        <label for="opt_checker.makeBackup">__MSG_OptionCheckerMakeBackupLabel__</label>
      </fieldset>
      <input id="openChecker" type="button" value="__MSG_OpenChecker__">
    </div>
  </details>
</div>
<div id="actionsWrapper">
  <input type="submit" accesskey="S" value="__MSG_OptionsSaveLabel__">
  <input id="reset" type="button" accesskey="R" value="__MSG_OptionsResetLabel__">
  <input id="export" type="button" accesskey="E" value="__MSG_OptionsExportLabel__">
  <input id="import" type="button" accesskey="I" value="__MSG_OptionsImportLabel__">
  <input id="import-input" type="file" style="display: none;">
</div>
</form>
</body>
</html>
